<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>凯盛项目管理系统</title>
	<link rel="stylesheet" href="css/bootstrap.min.css" />
	<style type="text/css">
	
	</style>
	
  </head>
  
  <body>
    <%@ include file="top.jsp" %>
    <div class="container">
		<div class="row">
			<div class="span3">
				<div class="well" style="padding: 8px 0;margin-top:50px;" >
					<ul class="nav nav-list">
						<li class="nav-header">${sessionScope.pu.project.name }</li>
						<li>${sessionScope.user.username }:${sessionScope.pu.role }</li>
						<li class="divider"></li>
						<li><a href="project.jspx?id=${sessionScope.pu.projectid }"><i class="icon-home"></i>最新动态</a></li>
						<li><a href="goal.jspx"><i class="icon-flag"></i>目标</a></li>
						<li><a href="document.jspx"><i class="icon-folder-open"></i>资料库</a></li>
						<li ><a href="file.jspx"><i class="icon-file"></i>文件共享</a></li>
						<li class="active"><a href="contact.jspx "><i class="icon-user icon-white"></i>联系人</a></li>
						<li><a href="idea.jspx"><i class="icon-fire"></i>想法</a></li>
						<li><a href="#"><i class="icon-warning-sign"></i>Bug</a></li>
						<li><a href="main.jspx?m=editProject&id=${pu.projectid }"><i class="icon-cog"></i>项目设置</a></li>
					</ul>
				</div>
			</div>
			<div class="span9">
				<form action="contact.jspx?m=editcontact&id=${requestScope.c.id }" class="form-horizontal"  method="post" style="margin-top:60px;">
					<fieldset>
						<legend>编辑联系人</legend>
						<div class="control-group">
							<label for="input01" class="control-label">姓名</label>
							<div class="controls">
								<input type="text" class="span5" style="height:28px" name="name" value="${requestScope.c.name }"/>
							</div>							
						</div>
						<div class="control-group">
							<label for="input01" class="control-label">公司</label>
							<div class="controls">
								<input type="text" class="span5" style="height:28px" name="company" value="${requestScope.c.company }"/>
							</div>							
						</div>
						<hr />
						<div class="control-group">
							<label for="input01" class="control-label">手机</label>
							<div class="controls">
								<input type="text" class="span5" style="height:28px" name="moblie" value="${requestScope.c.moblie }"/>
							</div>							
						</div>
						<div class="control-group">
							<label for="input01" class="control-label">固话</label>
							<div class="controls">
								<input type="text" class="span5" style="height:28px" name="tel" value="${requestScope.c.tel}"/>
							</div>							
						</div>
						<div class="control-group">
							<label for="input01" class="control-label">邮箱</label>
							<div class="controls">
								<input type="text" class="span5" style="height:28px" name="email" value="${requestScope.c.email }"/>
							</div>							
						</div>
						<hr />
						<div class="control-group">
							<label for="input01" class="control-label">地址</label>
							<div class="controls">
								<input type="text" class="span5" style="height:28px" name="address" value="${requestScope.c.address }"/>
							</div>							
						</div>
						<hr />
						<div class="control-group">
							<label for="input01" class="control-label">主页</label>
							<div class="controls">
								<input type="text" class="span5" style="height:28px" name="web" value="${requestScope.c.web }"/>
								<p class="help-block">http://www.xxx.com</p>
							</div>							
						</div>
						<div class="control-group">
							<label for="input01" class="control-label">微博</label>
							<div class="controls">
								
								<div class="input-prepend">
									<input class="span2" id="prependedInput" size="16" type="text" style="height:28px">
								</div>
							</div>							
						</div>
						<div class="control-group">
							<label for="input01" class="control-label" name="cont" >简介</label>
							<div class="controls">
								<textarea cols="30" rows="6" class="span5" >${requestScope.c.cont }</textarea>
							</div>
						</div>
						<div class="form-actions">
							<button type="submit" class="btn btn-primary">保存</button>
							<button class="btn" onclick="location.back()">返回</button>
						</div>
					</fieldset>
				
				</form>
			
			</div>
		</div>
	</div>
  </body>
</html>
